package com.tourism.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tourism.admin.model.entity.Order;
import com.tourism.admin.mapper.OrderMapper;
import com.tourism.admin.service.OrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
    @Override
    public int updateState(String tradeNo, int state, String payTime) {
        return this.baseMapper.updateState(tradeNo,state,payTime);
    }
}
